package com.recharge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.recharge.common.result.ResultDO;
import com.recharge.core.entity.TransactionEntity;
import com.recharge.domain.query.TransactionQueryDO;
import com.recharge.domain.vo.TransactionDO;

/**
 * <p>
 * 交易信息表 服务类
 * </p>
 *
 * @author reagan
 * @since 2020-08-19
 */
public interface TransactionService extends IService<TransactionEntity> {

    public ResultDO add(TransactionDO domain);

    public ResultDO edit(TransactionDO domain);

    public ResultDO saveUpdate(TransactionDO domain);

    public ResultDO updateStatus(String id, int status);

    public ResultDO find(TransactionQueryDO query);

    public ResultDO get(String id);
}
